package org.spring.cloud.consul;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProducerController {

    @GetMapping("/producer")
    public String producer(){
        System.out.println("I'm producer 3333");
        return "Hello, I'm producer 33333";
    }
}